package com.test.mylotterysystem.service;

import com.test.mylotterysystem.controller.Param.LoginParam;
import com.test.mylotterysystem.controller.Param.UserRegisterParam;
import com.test.mylotterysystem.controller.Param.VerificationCodeLoginParam;
import com.test.mylotterysystem.service.DTO.UserInfoDTO;
import com.test.mylotterysystem.service.DTO.UserLoginDTO;
import com.test.mylotterysystem.service.DTO.UserRegisterDTO;

import java.util.List;

public interface UserService {
    UserRegisterDTO register(UserRegisterParam userRegisterParam);

    boolean verificationCode(String phoneNumber);

    UserLoginDTO login(LoginParam loginParam);

    List<UserInfoDTO> getUserInfoList(String identity);
}
